﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
using DO = DataObjects;

namespace Business
{
    public class Corretor
    {
        public static DO.Corretor GetItem(int id)
        {
            return CorretorDB.GetItem(id);
        }

        public static List<DO.Corretor> GetList()
        {
            return CorretorDB.GetList();
        }

        public static int Save(DO.Corretor corretor)
        {
            return CorretorDB.Save(corretor);
        }

        public static bool Delete(int id)
        {
            return CorretorDB.Delete(id);
        }
    }
}
